home *** CD-ROM | disk | FTP | other *** search
/ PC Direct 1996 February / PC Direct CD-ROM (February 1996).iso / software / claris / impact / disk12 / impact.rs_ / impact.rs / TEXT_156.txt < prev    next >
Encoding:
Text File  |  1995-08-28  |  581 b   |  13 lines

  1. IF
  2. Determines whether a value or logical expression is zero (FALSE) or nonzero (TRUE) and returns the value in true-value or false-value.
  3.  
  4. Format: IF (logical, true-value, false-value)
  5.  
  6. Arguments:
  7. ΓÇó  logical: A numeric value or logical expression.
  8. ΓÇó  true-value: A text or numeric expression.
  9. ΓÇó  false-value: A text or numeric expression.
  10.  
  11. Example:
  12. IF (C1,5,10) returns 10 (the false-value) if cell C1 is empty, and returns 5 (the true-value) if C1 is nonzero.
  13. Shows that if the logical argument evaluates as TRUE (nonzero), the result of the function is the second argument.